package com.ap.core.storedprocedure.api;


import com.ap.core.common.tuple.ThreeTuple;
import com.ap.core.common.types.ParameterType;

/**
 * This class to keep the information of stored procedure
 * and no of arguments in method call. 
 */
public class StoredProcedureInfo {
    

    private final String callString;
    private final ThreeTuple<Integer, ?, ParameterType>[] inParams;
    
    public StoredProcedureInfo(String callString, ThreeTuple<Integer, ?, ParameterType>... inParams) {
        this.callString = callString;
        this.inParams = inParams;
    }

    /**
     * @return the callString
     */
    public String getCallString() {
        return callString;
    }

    /**
     * @return the inParams
     */
    public ThreeTuple<Integer, ?, ParameterType>[] getInParams() {
        return (ThreeTuple<Integer, ?, ParameterType>[])inParams.clone();
    }
    
    
    
}
